package com.concurrency.example.adapter.objectDemo;

import com.concurrency.example.adapter.SdCardImpl;
import com.concurrency.example.adapter.TfCard;

public class SdAdapterTfObject extends SdCardImpl {
    private TfCard tfCard;
    public SdAdapterTfObject(TfCard tfCard){
        this.tfCard = tfCard;
    }

    @Override
    public String readSd() {
        return tfCard.readTf();
    }
}
